'''
Created on Apr 25, 2012

@author: jesus
'''

class Comment(object):

    def __init__(self, comment = "default", topic = "default", cid="default"):
        self.comment = comment
        self.topicName = topic
        self.topicCommunityID = cid

    def getComment(self):
        return self.comment
    
    def setComment(self, comment):
        self.comment = comment

    def getTopic(self):
        return self.topicName
    
    def setTopic(self, topic):
        self.topicName = topic

    def getCommunityId(self):
        return self.topicCommunityID
    
    def setCommunityId(self, cid):
        self.topicCommunityID = cid

    def setIdentity(self, identity):
        self.identity = identity
        
    def getIdentity(self):
        return self.identity